﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.HumanResource.Core
{
    public class Identification
    {
        public DateTime? Effective { get; set; }
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }
        [ForeignKey("OwnerId")]
        public Person Owner { get; set; }
        public Guid? OwnerId { get; set; }
    }
}
